﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GUILayer
{
    public partial class GUIStart : Form
    {
        public GUIStart()
        {
            InitializeComponent();
        }

        private void buttonStartSearch_Click(object sender, EventArgs e)
        {
            Form newForm = new GUISearch();
            this.Hide();
            newForm.ShowDialog();
            this.Close(); 
        }

        private void buttonStartReg_Click(object sender, EventArgs e)
        {
            Form newForm = new GUIRegMovie();
            this.Hide();
            newForm.ShowDialog();
            this.Close(); 
        }

        private void buttonStartBooking_Click(object sender, EventArgs e)
        {
            Form newForm = new GUITicketBooking();
            this.Hide();
            newForm.ShowDialog();
            this.Close(); 
        }

        private void buttonStartSalg_Click(object sender, EventArgs e)
        {
            Form newForm = new GUISaleDialogue();
            this.Hide();
            newForm.ShowDialog();
            this.Close();
        }

        private void buttonStartPlanning_Click(object sender, EventArgs e)
        {
            Form newForm = new GUIShowPlanning();
            this.Hide();
            newForm.ShowDialog();
            this.Close();
        }
    }
}
